package com.ideal.frame.template.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ideal.frame.entity.AutoModel;
import lombok.Data;
import org.springframework.data.annotation.CreatedDate;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Author ybb
 * @Description
 * @Date 2021/9/7 16:37
 */
@Data
@Table(name = "analysis_template_tb")
@Entity
public class AnalysisTemplate extends AutoModel{

    private String templateName;
    private String templateRegx;
    private int delFlag;

    @CreatedDate
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", locale = "GMT+8")
    private Date createDate;
}
